import axios from "@/libs/axios";
// 
export const login_post = (...args) => axios.postWWWFormUrlencoded("/user/loginIn", ...args); // 登录
export const admin_user_resPass_post = (...args) => axios.postWWWFormUrlencoded("/user/reset", ...args); // 修改密码
export const admin_user_logout_get = (...args) => axios.get("/user/loginOut", ...args); // 退出登录

export const admin_user_self_get = (...args) => axios.get("/admin/user/self", ...args);
export const admin_user_lists_post = (...args) => axios.post("/admin/user/lists", ...args);
// 账号
export const admin_user_ad_post = (...args) => axios.post("/admin/user/ad", ...args); // 新增
export const admin_user_up_post = (...args) => axios.post("/admin/user/up", ...args); // 修改
export const admin_user_refPass_get = (...args) => axios.get("/admin/user/refPass", ...args); // 重置密码
export const data_index_tree_Get = (...args) => axios.get("/office/treeData", ...args); // 重置密码
//获取采集员信息
export const get_gatherList = (...args) => axios.post("/jbxx/gatherList", ...args); // 获取采集员信息
// 返回给采集员
export const data_backColl = (...args) => axios.post("/jbxx/backColl", ...args); // 获取采集员信息
// 下载失败文件
export const down_fail_file = (...args) => axios.post("/jbxx/downFile", ...args); // 下载失败文件